<template>
  <div id="regulationorderlist"> 


          <el-table :data="datalist" style="width: 100%" :height="dtheight" :header-cell-style="{background:'#4F81BC',color:'white'}"
           :row-class-name="tableRowClassName"  :border="true">

               
                <el-table-column label="订单时间"  align='center' >                   
                    <template slot-scope="scope">                   
                        <span >{{ scope.row.time }}</span>
                    </template>
                </el-table-column>
                <el-table-column label="升级账号"  align='center' >                   
                    <template slot-scope="scope">                   
                        <span >{{ scope.row.telphone }}</span>
                    </template>
                </el-table-column>
                <el-table-column label="升级姓名"  align='center' >                   
                    <template slot-scope="scope">                   
                        <span >{{ scope.row.nickname }}</span>
                    </template>
                </el-table-column>
                <el-table-column label="订单编号"  align='center' >                   
                    <template slot-scope="scope">                   
                        <span >{{ scope.row.old_pid }}</span>
                    </template>
                </el-table-column>
                <el-table-column label="订单类别"  align='center' >                   
                    <template slot-scope="scope">                   
                        <span >{{ scope.row.level }}</span>
                    </template>
                </el-table-column>
                <el-table-column label="订单价值"  align='center' >                   
                    <template slot-scope="scope">                   
                        <span >{{ scope.row.old_price }}</span>
                         <!-- <span >{{ scope.row.goods_price }}</span> -->
                    </template>
                </el-table-column>
                <el-table-column label="新订单号"  align='center' >                   
                    <template slot-scope="scope">                   
                        <span >{{ scope.row.new_pid }}</span>
                    </template>
                </el-table-column>
                <el-table-column label="新订单值"  align='center' >                   
                    <template slot-scope="scope">                   
                        <span >{{ scope.row.new_price }}</span>
                    </template>
                </el-table-column>
                 <el-table-column label="匹配积分"  align='center' >                   
                    <template slot-scope="scope">                   
                        <span >{{ scope.row.gdb }}</span>
                    </template>
                </el-table-column>
                
            </el-table>  

           

          


   </div>
</template>

<script>

export default {
   name: 'regulationorderlist',
   props:{
      datalist:{  
        //type:Array,
       default:()=>[]
     },
  },
  data () {
    return {
        dtheight:'500',  //窗口高度

        

    }
  },
   components:{

  },
  created(){
     this.dtheight = window.innerHeight - 348
      
  },
  mounted (){
    
  },
  methods: {
 

  }
}
</script>


<style scoped>

</style>